package com.wanjia.bpsapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanjia.bpsapi.pojo.dto.ParamName;
import com.wanjia.bpsapi.pojo.dto.ParamNeed;
import com.wanjia.bpsapi.pojo.entity.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 参数表 Mapper 接口
 * </p>
 *
 * @author wyn
 * @since 2023-02-13
 */
@Repository
public interface ParamMapper extends BaseMapper<Param> {

    List<ParamName> getCostNames();

    List<ParamNeed> getList(Long[] paramId,Long vegeId);

    List<Long> selectIdList();

    List<Long> selectIdListByCaltype(@org.apache.ibatis.annotations.Param("caltype") Integer caltype);

}
